package org.lanqiao.tjut.dao;

public class DaoFactory {

	/**Factory 工厂类
	 * 
	 * 
	 * 获取LoginDao的实例对象
	 * 
	 * @return LoginDao对象
	 */
	public static LoginDao getLoginDaoInstance() {
		return new LoginDao();
	}
	/**
	 * 获取UserInfoManagerDao的实例对象
	 * 
	 * @return UserInfoManagerDao对象
	 */
	public static UserInfoManagerDao getUserInfoManagerDaoInstance() {
		return new UserInfoManagerDao();
	}
	
	/**
	 * 学生成绩表
	 * 
	 * 获取UserInfoManagerStuDao的实例对象
	 * 
	 * @return UserInfoManagerStuDao对象
	 */
	public static UserInfoManagerStuDao getUserInfoManagerStuDaoInstance() {
		return new UserInfoManagerStuDao();
	}
	
	/**
	 * 老师查询课程表
	 * 
	 * 获取UserInfoManagerTeaDao的实例对象
	 * 
	 * @return UserInfoManagerTeaDao对象
	 */
	public static UserInfoManagerTeaDao getUserInfoManagerTeaDaoInstance() {
		return new UserInfoManagerTeaDao();
	}

}
